/*
 * @Author: Li Zengkun
 * @Date: 2022-09-12 15:01:31
 * @LastEditors: Li Zengkun
 * @LastEditTime: 2022-09-19 14:20:43
 * @Description: 
 */
export default {
    namespaced: true,
    state: () => ({
        isCollapse: true, //菜单折叠
        menu: []
    }),
    getters: {
        toggleIcon(state) {
            return state.isCollapse ? 'Expand' : 'Fold';
        },
    },
    mutations: {
        toggle(state) {
            console.log(1);
            state.isCollapse = !state.isCollapse
        }
    },
    actions: {},
    modules: {}
}